package com.atguigu.gulimall.product;

import com.atguigu.gulimall.product.feign.CouponFeignService;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Luo Sheng
 * @school YiBin university
 * @create 2023-02-25 23:31
 */
@EnableFeignClients(basePackageClasses = {CouponFeignService.class})
@SpringBootApplication
@ComponentScan(basePackages = "com.atguigu.gulimall")
@MapperScan("com.atguigu.gulimall.product.dao")
public class GulimallProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}